#
# Be sure to run `pod lib lint XCAuidoToMp3_Lame.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'XCAuidoToMp3_Lame'
  s.version          = '0.1.3'
  s.summary          = 'A short description of XCAuidoToMp3_Lame.'

  s.homepage         = 'https://gitee.com/chengssir/XCAuidoToMp3_Lame'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'guoshuai.cheng' => 'guoshuai.cheng' }
  s.source           = { :git => 'https://gitee.com/chengssir/XCAuidoToMp3_Lame.git', :tag => s.version.to_s }

  s.ios.deployment_target = '10.0'

  if ENV['use_code'] or ENV[s.name+'_use_code']
    s.source_files = 'XCAuidoToMp3_Lame/Classes/**/*'
  else #Framework模式
   s.vendored_frameworks = 'Frameworks/XCAuidoToMp3_Lame.xcframework'
  end
  s.vendored_libraries = 'XCAuidoToMp3_Lame/lib/*.a'

  s.pod_target_xcconfig = {
    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
  }
  s.user_target_xcconfig = {
    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
  }
  
end
